html = '''
{% extends 'base/basenovel.html' %}
{% block catalogue %}
    % for i in catalogue:
    <li class="list-group-item"><a href="#{{ i }}" id="1{{ i }}" name="catalogue">{{ i }}</a></li>
    % end
{% endblock %}

{% block content %}
    % for  i in novel:
    % if  i  in catalogue:
    <div class="text" style="padding: 15px;">
        <a id="{{ i }}">{{ i }}</a>
    </div>
    % else:
    <div class="text" style="padding: 15px;">{{ i }}</div>
    % end
    % end
{% endblock %}
'''